package cn.wl.basic.query;

import lombok.Data;

@Data
public class BaseQuery {
    //当前页
    private Integer currentPage = 1;
    //每页显示的条数
    private Integer pageSize = 10;

    //javabean中的可读属性#{start}
    public Integer getStart(){
        return (this.currentPage-1)*this.pageSize;
    }
}
